package cn.tedu.micro.demo.order.repository;

import cn.tedu.micro.demo.common.pojo.po.OrderInfoPO;
import cn.tedu.micro.demo.order.mapper.OrderInfoMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
@Slf4j
public class OrderRepositoryImpl implements OrderRepository{
    @Autowired
    private OrderInfoMapper orderInfoMapper;
    @Override
    public void save(OrderInfoPO poParam) {
        log.info("orderInfoMapper:{}",orderInfoMapper.getClass().getName());
        orderInfoMapper.insert(poParam);
    }
}
